package org.example.command;

import org.example.editor.Editor;

public class DeleteCommand implements Command{
    private Editor editor;
    private String content;

    public DeleteCommand(Editor editor,String content){
        this.editor = editor;
        this.content =content;
    }
    @Override
    public void excute() {
        editor.delete(content);
    }
}
